<<set $r1 to random(1,6)>>
<<if visited ("start")is 4>> Sorry, you have ran out of turns.
GAME OVER
<<else>>
[[roll the die|r1]]
<</if>>
<img src=https://ibi-alawaj.neocities.org/dice-game.gif
<map name="image-map" width="50" height="50">
<area target="" alt="" title="" href="" coords="" shape="rect">
<<set $r3 to random (1,6)>><<if $r3 is 1>> Dang! You lost your points, and are thrown back into the pen. [[Restart?|.]] Or, stop [[here?|end]] <<else>><<set $r3 to $r2+$r3>>$r3-- Incredible! Lets see your final score|end]]
<</if>>
<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="1000" height="600">
<<if $r1 is 1>> Oof, you rolled $r1
Your thrown back into the pen! [[restart|.]] Or, give up [[here?|end]]
<<else>> $r1?
Nice! Roll [[again|r2]]?
Or, cash in your points [[here|end]]
<</if>>
<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="1000" height="600"><<if $r3 gte 1>> You've earned a total of $r3
<<elseif $r2 gte 1>> You've earned a total of $r2
<<elseif $r1 gte 1>> You've earned a total of $r1
<</if>>
<<button "THE END" "credits">><<script>>/* (code) */<</script>><</button>>
<<set $r2 to random(1,6)>><<if $r2 is 1>>
Oh no! you rolled a $r2! You lost all your points [restart?|start]] Or, stop [[here?|end]]
<<else>><<set $r2 to $r1+$r2>>$r2 ?!?!
Wow , you're on fire! [[roll again?|r3]],
Or, Cash in your points [[here|end]]
<</if>>
<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="1000" height="600">CREDITS
<img src=https://ibi-alawaj.neocities.org/dancing-pigs-animated-gif.webp
<map name="image-map" width="500" height="500">
Created by Ibi Alawaj-Ghoniem - https://ibi-alawaj.neocities.org/ibi-pig-game
Heavily insired by Carl Diehl's pig prototype game- https://clogosphere.neocities.org/if/pig_prototype_v3
Title gif - https://ibi-alawaj.neocities.org/Untitled%20design%20(3).gif
Pig gif - https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
Pig 2 gif - https://ibi-alawaj.neocities.org/Untitled%20design%20(1).gif
dancing pig gif - https://ibi-alawaj.neocities.org/dancing-pigs-animated-gif.webp
Dice gif - https://ibi-alawaj.neocities.org/dice-game.gif<img src=https://ibi-alawaj.neocities.org/Untitled%20design%20(2).gif
<map name="image-map" width="1500" height="1000
">
<img src=https://ibi-alawaj.neocities.org/Untitled%20design%20(1).gif
<map name="image-map" width="1200" height="800">
<area target="" alt="" title="" href="" coords="" shape="rect">
The goal in this solo version of PIG is to accumulate high points in order to leave the pig pen, and to avoid rolling ones over the course of three rounds, using a 6-sided die.
If you roll a 1 you lose all your points and are thrown back into the pig pen. You can either:
Restart (up to 3 times)
Or you can quit to cash in your points to escape
If you roll anything else you can either:
Roll again, accumulating points each round
Or you can quit to cash in with the points you have
Each of the three rounds you potentially accumulate more points, or you can quit while you're ahead. There's always the chance you will lose all your points. You have three chances to restart if you roll a 1.
[[START THE GAME]]<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="50" height="50">
<area target="" alt="" title="" href="" coords="" shape="rect">